package by.msokoloff.javaweb2015.webapp.page.planemodel;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.PlaneModel;

public class PlaneModelEditPanel extends Panel {

	public PlaneModelEditPanel(String id, PlaneModel planeModel) {
		super(id);
		add(new PlaneModelForm("planeModelEditForm", new CompoundPropertyModel<PlaneModel>(planeModel)));
	}

}
